forum

home / developersection / forums / launch wpf application using process.start

Launch WPF application using Process.Start

Anonymous User 4067 14-Nov-2013

I am attempting to launch a wpf application using Process.Start.

var programPath = @"C:\Users\user\Documents\Program
Directory\program.exe";
if(!File.Exists(programPath))
{
     MessageBox.Show("The program.exe file does not exist! Cannot launch.");
     return;
}
Process.Start(programPath);

My WPF process flashes in the task manager briefly before immediately closing.


c# c# 
Updated on 14-Nov-2013

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By